package com.sdb.fee.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.sdb.common.annotation.Excel;
import com.sdb.common.core.domain.BaseEntity;

import java.util.Date;

/**
 * 缴费信息对象 td_pay
 * 
 * @author yyh
 * @date 2025-02-07
 */
public class TdPay extends BaseEntity
{
    private static final Long serialVersionUID = 1L;

    /** 缴费记录id */
    private int id;

    /** 就诊卡号 */
    @Excel(name = "就诊卡号")
    private String cardId;

    /** 患者id */
    @Excel(name = "患者id")
    private String patientId;

    /** 患者姓名 */
    @Excel(name = "患者姓名")
    private String patientName;

    /** 余额 */
    @Excel(name = "余额")
    private Double money;

    /** 缴费金额 */
    @Excel(name = "缴费金额")
    private Double addfee;

    /** 退费金额 */
    @Excel(name = "退费金额")
    private Double tuifee;

    /** 缴费或者退费 */
    @Excel(name = "缴费或者退费")
    private String type;

    /** 缴费渠道 */
    @Excel(name = "缴费渠道")
    private String qudao;

    /** 创建时间 */
    @Excel(name = "创建时间")
    private Date createtime;

    /**缴费结果**/
    @Excel(name = "缴费结果")
    private String status;

    public void setId(int id)
    {
        this.id = id;
    }

    public int getId()
    {
        return id;
    }
    public void setCardId(String cardId) 
    {
        this.cardId = cardId;
    }

    public String getCardId() 
    {
        return cardId;
    }
    public void setPatientId(String patientId) 
    {
        this.patientId = patientId;
    }

    public String getPatientId() 
    {
        return patientId;
    }
    public void setPatientName(String patientName) 
    {
        this.patientName = patientName;
    }

    public String getPatientName() 
    {
        return patientName;
    }
    public void setMoney(Double money) 
    {
        this.money = money;
    }

    public Double getMoney() 
    {
        return money;
    }
    public void setAddfee(Double addfee) 
    {
        this.addfee = addfee;
    }

    public Double getAddfee() 
    {
        return addfee;
    }
    public void setTuifee(Double tuifee) 
    {
        this.tuifee = tuifee;
    }

    public Double getTuifee() 
    {
        return tuifee;
    }
    public void setType(String type) 
    {
        this.type = type;
    }

    public String getType() 
    {
        return type;
    }
    public void setQudao(String qudao) 
    {
        this.qudao = qudao;
    }

    public String getQudao() 
    {
        return qudao;
    }

    public Date getCreatetime() {
        return createtime;
    }

    public void setCreatetime(Date createtime) {
        this.createtime = createtime;
    }

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("cardId", getCardId())
            .append("patientId", getPatientId())
            .append("patientName", getPatientName())
            .append("money", getMoney())
            .append("addfee", getAddfee())
            .append("tuifee", getTuifee())
            .append("type", getType())
            .append("qudao", getQudao())
            .append("createtime", getCreatetime())
                .append("status",getStatus())
            .toString();
    }
}
